package com.jymj.service;

import com.jymj.entity.*;
import com.jymj.entity.dto.RenovatedDto;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;
import java.util.List;
import java.util.Map;

public interface YlService {

    List<YlEntity> queryList(Map<String, Object> params);

    YlEntity queryByPoint(String point, Integer pjid);

    YlEntity getYLbyId(Integer objectid, String cunName);

    Map getDiQuery(Integer pageSize, Integer currPage, YlEntity ylEntity, String code);

    int getAppDiCounnt(YlEntity ylEntity, String code);

    YlEntity getYLbyPoint(String point, String code);

    List<KeyValueEntity> getAppDiQsxz(YlEntity ylEntity, String code);

    List<KeyValueEntity> getAppDiSyqlx(YlEntity ylEntity, String code);

    List<KeyValueEntity> getAppDiCqly(YlEntity ylEntity, String code);

    List<KeyValueEntity> getZhaiAreaByFrame(String points, String code);

    List<YlEntity> getYlList(Map map1);

    List<YlEntity> getYlListExcel(Map map1);

    Integer getYlListCount(String points, String code, List ylTypeList);

    int queryTotal(Map<String, Object> params);

    //修改宅基地翻建进度
    void updateYl(YlEntity ylEntity);

    //修改宅基地翻建批量修改
    void updateYlBatch(Integer[] ylIds);

    //修改宅基地翻建改为7施工状态
    void updateYlByAppId(Integer id);

    List<KeyValueEntity> queryAppSummary(List xzqmcList1, String code);

    List<YlEntity> queryYl(String geom);

    void save(YlEntity ylEntity);

    void deleteByObjectid(Integer ylId);

    YlEntity queryByGid(Integer gid);

    void updateAppTYpe(Integer ylId);
}
